package com.caseProject.puremvc.mediator.events
{
	import com.caseProject.puremvc.model.Diagram;
	
	import flash.events.Event;
	
	public class MenuDiagramListEvent extends Event
	{
		public static const SELECT_ITEM:String = "SELECT_ITEM";
		public static const RENAME_DIAGRAM:String = "RENAME_DIAGRAM";
		public static const DELETE_DIAGRAM:String = "DELETE_DIAGRAM";
		
		private var _diagramVO:Diagram;
		
		public function MenuDiagramListEvent(type:String, diagramVO:Diagram, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this._diagramVO = diagramVO;
		}

		public function get diagramVO():Diagram
		{
			return _diagramVO;
		}

	}
}